var express = require('express');
var router = express.Router();

const {
    getOrder
} = require('../service/ordersService');
/* GET home page. */
// 获取订单信息
router.get('/getOrder', async function (req, res, next) {
    console.log('成功进入获取订单信息第一层', req.query)
    const result = await getOrder(req.query);
    // console.log('第一层获取出租方结果', result)
    res.send(result);
});

module.exports = router;